package com.yike.user.service;

import com.yike.user.entity.UserBankAccount;
import com.yike.user.param.UserBankAccountPageParam;
import com.yike.common.base.BaseService;
import com.yike.common.pagination.Paging;

/**
 * 用户银行账号信息表 服务类
 *
 * @author Sakura
 * @since 2024-09-27
 */
public interface UserBankAccountService extends BaseService<UserBankAccount> {

    /**
     * 保存
     *
     * @param userBankAccount
     * @return
     * @throws Exception
     */
    boolean saveUserBankAccount(UserBankAccount userBankAccount) throws Exception;

    /**
     * 修改
     *
     * @param userBankAccount
     * @return
     * @throws Exception
     */
    boolean updateUserBankAccount(UserBankAccount userBankAccount) throws Exception;

    /**
     * 删除
     *
     * @param id
     * @return
     * @throws Exception
     */
    boolean deleteUserBankAccount(Long id) throws Exception;


    /**
     * 获取分页对象
     *
     * @param userBankAccountPageParam
     * @return
     * @throws Exception
     */
    Paging<UserBankAccount> getUserBankAccountPageList(UserBankAccountPageParam userBankAccountPageParam) throws Exception;

}
